package com.ant.storage.service;

import com.ant.storage.common.ResultPage;
import com.ant.storage.pojo.LossReporting;
import com.ant.storage.common.PageRecv;
import com.ant.storage.common.ResultVo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface ILossReportingService extends IService<LossReporting>{

    /**
     * 报损单新增
     * @param lossReporting
     * @return
     */
    ResultVo addLossReporting(LossReporting lossReporting) throws NoSuchFieldException;

    /**
     * 报损单查询
     * @param pageRecv
     * @return
     */
    ResultPage queryLossReporting(PageRecv<LossReporting> pageRecv);
}
